﻿//Copyright (C) Riwut Libinuko, 2010 - Ideas For Free
//http://blog.libinuko.com

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharePointZip.Base
{
    /// <summary>
    /// Define ServiceLocator to serve mapping between definition and realisation.
    /// </summary>
    public interface IServiceLocator
    {
        TInterface GetService<TInterface>();
        TInterface GetService<TInterface>(params object[] parameters);
        TInterface GetNewServiceInstance<TInterface>();
        TInterface GetNewServiceInstance<TInterface>(params object[] parameters);

    }

}
